/*
 * @Author: yao
 * @Date: 2025-02-18 14:16:37
 * @LastEditTime: 2025-02-18 14:17:24
 * @LastEditors: yao
 * @Description: 
 * @FilePath: \jdev-web-el\src\api\menu.ts
 */
import { Method } from "alova";
import { AlovaInstance } from "@/http/index";
import { setRequestParam } from "@/utils/http";
import { prefixProxy } from "@/utils/utils";
import config from "@/config";

const HTTPTABLE = new Proxy(
  {
    getAppMenus: "/userCenter/loginMenu",
  },
  prefixProxy(config.SYS_PREFIX)
);

export const getAppMenus = () => {
  return new Method(
    "GET",
    AlovaInstance,
    HTTPTABLE.getAppMenus,
    {},
  );
};
